Piwik\Session\SessionAuth S

Total Complexity 37
Dependencies 9
Dependents 2
Total lines 219
Lines of code 122
Logical lines of code 58
Comment lines 35
Methods 18
Properties 4

Methods 18

Method Rating Maintainability Complexity Lines of code
authenticate()
A
47 11 36
isSessionStartedBeforePasswordChange()
S
64 3 10
isExpiredSession()
S
68 2 8
updateSessionExpireTime()
S
59 1 15
destroyCurrentSession()
S
73 2 6
initNewBlankSession()
S
73 2 6
makeAuthSuccess()
S
67 2 7
__construct()
S
75 2 4
getLogin()
S
73 2 5
checkIfSessionFailedToRead()
S
71 2 6
setPasswordHash()
S
91 1 2
getName()
S
91 1 2
makeAuthFailure()
S
79 1 3
setPassword()
S
91 1 2
setLogin()
S
91 1 2
getTokenAuthSecret()
S
91 1 2
getTokenAuth()
S
82 1 3
setTokenAuth()
S
81 1 3